//ai-assistant-messages
interface MessageList {
  role: string;
  content: string;
}

interface sendMessage {
  (message: string): void;
}
//泛型约束
type DebounceFunc = <T extends (...args: any[]) => any>(
  func: T,
  delay: number
) => (...args: Parameters<T>) => void;

export { MessageList, sendMessage, DebounceFunc };
